import { AxiosPromise } from "axios";
import UserInfo from "./index";

interface Iservice {
  query(params?: any): AxiosPromise;
  login(data: UserInfo): AxiosPromise;
  register(data: UserInfo): AxiosPromise;
  querytoken(data?: any): AxiosPromise;
  adduser(data?: any): AxiosPromise;
  getuserinfos(params?: any): AxiosPromise;
  //   del(id: number): AxiosPromise;
}
export default Iservice;
